//
//  OAReplyModel.m
//  ChatDemo-UI2.0
//
//  Created by syun on 16/9/7.
//  Copyright © 2016年 syun. All rights reserved.
//

#import "OAReplyModel.h"

@implementation OAReplyModel

-(CGFloat)cellHeight{
    
    NSString *str;
    
    if (_touserid) {
        
        str = [NSString stringWithFormat:@"回复:@%@%@",_tousername,_scontent];
    }else{
        
        str = _scontent;
    }
    
    CGFloat h =  [Utils resizeContentLabelHeightWithString:_scontent andLineSpacing:1 andFont:[UIFont systemFontOfSize:15] andMaxWidth:SCREENWIDTH - 68];
    
    return h + 7 + 13 + 15 + 12;
}

@end
